computational estimation of l*a*b* units from rgb using machine vision
نویسندگان
چکیده
introduction:.color is the first quality attribute of food evaluated by consumers, and is therefore an important quality component of food which influences consumer’s choice and preferences (maguire, 1994). color measurement of food products has been used as an indirect measure of other quality attributes such as flavor and contents of pigments because it is simpler, faster and correlates well with other physicochemical properties. therefore, rapid and objective measurement of food color is required in quality control for the commercial grading of products (trusell et al., 2005). among different color spaces, l*a*b* color space is the most practical system used for measuring of color in food due to the uniform distribution of colors in this system as well its high similarity to human perception of color. all of the commercial l*a*b* colorimeters generally measure small, non- representative areas (pathare et al., 2013) while the rgb digital cameras obtain information in pixels. therefore, this research establishes a computational solution which allows acquiring of digital images in l*a*b* color units for each pixel from the digital rgb image (fernandez-vazquez et al., 2011). in recent years, computer vision has been used to objectively measure the color of different foods since they provide some obvious advantages over a conventional colorimeter, namely, the possibility of analyzing of each pixel of the entire surface of the food, and quantifying surface characteristics and defects (mendoza & aguilera, 2004). the color of many foods has been measured using computer vision techniques (pedreschi et al., 2011; lang et al., 2012). a computational technique with a combination of a digital camera, image processing software has been used to provide a less expensive and more versatile way to measure the color of many foods than traditional color-measuring instruments. this study used four models to carry out the rgb to l*a*b* transformation: linear, quadratic, support vector regression and neural network. this article presents the details of each model, their performance, and their advantages and disadvantages. the purpose of this work was to find a model (and estimate its parameters) for obtaining l*a*b* color measurements from rgb measurements. materials and methods: the images used in this work were taken with the following image acquisition system (samsung, sm-n9005 color digital camera with 13 mega pixels of resolution ,fig.1). the camera was placed vertically at a distance of 60 cm from the samples and the angle between the axis of the lens and the sources of illumination was approximately °45. illumination was achieved with 4 natural daylight 150 w lights. fig. 1. schematic diagram of image acquisition system. in order to calibrate the digital color system, the color values of 42 color charts were measured. each color chart was divided into 24 regions. in each region, the l*a*b* color values were measured using a minolta colorimeter. additionally, a rgb digital image was taken of each chart, and the r, g and b color values of the corresponding regions were measured using a matlab program which computes the mean values for each color value in each region according to the 24 masks. in this study four models for the rgb to l*a*b* transformation namely: linear, quadratic, artificial neural network (ann), support vector regression (svr) have been used. results and discussion: in the evaluation of the performance of the models, the support vector regression and neural network model stands out with an error of only 0.88 and 2.37, respectively. leon et al. (2004) investigated some models for the rgb to l*a*b* conversion. in the evaluation of the performance of the models, the neural network model showed an error of only 0.93%. in another research yagzi et al. (2009) measured the l*a*b* values of atlantic salmon fillets subjected to different electron beam doses (0, 1, 1.5, 2 and 3 kgy) using a minolta cr-200 chroma meter and a machine vision system. for both minolta and machine vision the l* value increased and the a* and b* values decreased with increasing irradiation dose. however, the machine vision system showed significantly higher readings for l*, a*, b* values than the minolta colorimeter. according to the construction of these models, the correlation between measured and predicted color is well established; therefore, based on the promising obtained results from computer vision, it is possible to find a l*a*b* color measuring system that is appropriate for an accurate, exacting and detailed characterization of a food item based on a color digital camera. in order to show the capability of the proposed method, the color of an orange was measured using both a minolta colorimeter and the studied approach. the colorimeter measurement was obtained by averaging 6 measurements in 6 different places of the surface of the orange, whereas the measurement using the digital color image was estimated by averaging all pixels of the surface image. the results are summarized in fig. 2. b* a* l* measurement method 35.49 28.32 58.98 minolta colorimeter 37.35 27.30 61.20 machine vision (svr) 30.60 30.19 60.18 machine vision (ann) fig. 2. estimate of l*a*b* values of an orange
منابع مشابه
yield estimation of sugar beet based on plant canopy using machine vision methods
crop yield estimation is one of the most important parameters for information and resources management in precision agriculture. this information is employed for optimizing the field inputs for successive cultivations. in the present study, the feasibility of sugar beet yield estimation by means of machine vision was studied. for the field experiments stripped images were taken during the growt...
متن کاملHuman Pose Estimation from RGB Input Using Synthetic Training Data
We address the problem of estimating the pose of humans using RGB image input. More specifically, we are using a random forest classifier to classify pixels into joint-based body part categories, much similar to the famous Kinect pose estimator [11], [12]. However, we are using pure RGB input, i.e. no depth. Since the random forest requires a large number of training examples, we are using comp...
متن کاملComparison of Machine Learning Algorithms for Broad Leaf Species Classification Using UAV-RGB Images
Abstract: Knowing the tree species combination of forests provides valuable information for studying the forest’s economic value, fire risk assessment, biodiversity monitoring, and wildlife habitat improvement. Fieldwork is often time-consuming and labor-required, free satellite data are available in coarse resolution and the use of manned aircraft is relatively costly. Recently, unmanned aeria...
متن کاملDynamic Estimation in Computational Vision Toshio
Spatial coherence constraints are commonly used to regularize the problems of reconstructing dense visual fields like depth, shape, and motion. Recent developments in theory and practice show that the local nature of spatial coherence constraints allows us to solve single-frame reconstruction problems efficiently with, for example, multiresolution approaches. While it is reasonable to impose te...
متن کاملArm Muscular Effort Estimation from Images Using Computer Vision and Machine Learning
Resumen Un problema de gran interés en disciplinas como la ocupacional, ergonómica y deportiva, es la medición de variables biomecánicas involucradas en el movimiento humano (como las fuerzas musculares internas y torque de articulaciones). Actualmente este problema se resuelve en un proceso de dos pasos. Primero capturando datos con dispositivos poco prácticos, intrusivos y costosos. Luego est...
متن کاملThree-Dimensional Object Motion and Velocity Estimation Using a Single Computational RGB-D Camera
In this paper, a three-dimensional (3D) object moving direction and velocity estimation method is presented using a dual off-axis color-filtered aperture (DCA)-based computational camera. Conventional object tracking methods provided only two-dimensional (2D) states of an object in the image for the target representation. The proposed method estimates depth information in the object region from...
متن کاملمنابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
پژوهش های علوم و صنایع غذایی ایرانجلد ۱۳۹۶، شماره ۱، صفحات ۵۳-۰
میزبانی شده توسط پلتفرم ابری doprax.com
copyright © 2015-2023